<{include file="admin/header.html"}>	
	
			<ul id="main-nav">  <!-- Accordion Menu -->
				
				<li>
					<a href="<{spUrl c=admin a=index}>" class="nav-top-item no-submenu">控制面板</a>       
				</li>
				
				<li> 
					<a href="#" class="nav-top-item">文章</a>
					<ul>
						<li><a href="<{spUrl c=post a=write}>">撰写新文章</a></li>
						<li><a href="<{spUrl c=post a=index}>">文章管理</a></li>
						<li><a href="<{spUrl c=category a=index}>">分类管理</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item current">页面和区块</a>
					<ul>
						<li><a href="<{spUrl c=page a=write}>">撰写新页面</a></li>
                        <li><a class="current" href="<{spUrl c=area a=write}>">撰写新区块</a></li>
						<li><a href="<{spUrl c=page a=index}>">页面管理</a></li>
						<li><a href="<{spUrl c=area a=index}>">区块管理</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item">设置</a>
					<ul>
						<li><a href="<{spUrl c=user a=edit uid=$smarty.session.userinfo.uid}>">个人信息</a></li>
						<li><a href="<{spUrl c=user a=index}>">用户和权限</a></li>
					</ul>
				</li>      
				
			</ul> <!-- End #main-nav -->
			
		</div></div> <!-- End #sidebar -->
		
		<div id="main-content"> <!-- Main Content Section with everything -->
						
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>编辑区块</h3>

				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
				  <form id="form1" name="form1" method="post" action="<{$formUrl}>">
					<{if $info.id != ""}><input id="id" type="hidden" name="id" value="<{$info.id}>" /><{/if}>		
							<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
								
							  <p>
								<label>区块代码</label>
									<input class="text-input medium-input" type="text" id="title" name="title" value="<{$info.title}>" /> 
							  </p>
                                <p>
									<label>区块说明</label>
									<input class="text-input medium-input" type="text" id="medium-input2" name="overview" value="<{$info.overview}>" />
									<br />
								</p>

								
								<p>
<label>编辑页面内容</label>
HTML<textarea class="text-input textarea" id="textarea" name="text" cols="79" rows="15"><{$info.text}></textarea>
							  </p>
								
								<p>
									<input class="button" type="submit" value="Submit" />
								</p>
								
							</fieldset>
							
							<div class="clear"></div><!-- End .clear -->
							
						</form>
										
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box --><!-- End .content-box --><!-- End .content-box -->
	    <div class="clear"></div>
<{include file="admin/footer.html"}>